﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace CommonFunction
{
    public static class Pokerist_BS_Common
    {
        public enum GAME_STATUS
        {
            LOGIN = 1,
            READY = 2,
            START = 3,
            INGAME = 4,
            PLAY = 5,
            PAUSE = 6
        }

        public enum ROLES
        {
            BUY = 1,
            SALE = 2
        }

        [DefaultValue(ROLES.BUY)]
        public static ROLES Poker_Role { get; set; }

        [DefaultValue(GAME_STATUS.LOGIN)]
        public static GAME_STATUS GameStatus { get; set; }

        public static string Data_FilePath { get; set; }
        public static string icon_Profile_FilePath { get; set; }
        public static string icon_Profile_Result_FilePath { get; set; }
        public static DateTime? TIME_STOP { get; set; }

        public static IntPtr HANDLER { get; set; }
        public static string PokerTitle { get; set; }
        public static int GAME_DELAY = 500;
        public const int GAME_COUNTER = 100;

        public const int BUY_PROFILE_POS_X = 572;
        public const int BUY_PROFILE_POS_Y = 61;

        public const int IMG_PROFILE_POS_X = 350;
        public const int IMG_PROFILE_POS_Y = 295;
        public const int IMG_PROFILE_WIDTH = 20;
        public const int IMG_PROFILE_HEIGH = 15;

        public const int BUY_ICON_POS_X = 422;
        public const int BUY_ICON_POS_Y = 255;

        public const int BUY_TRANSPORT_POS_X = 137;
        public const int BUY_TRANSPORT_POS_Y = 263;

        public const int BUY_BICYCLE_POS_X = 412;
        public const int BUY_BICYCLE_POS_Y = 238;

        public const int BUY_LUXURY_POS_X = 287;
        public const int BUY_LUXURY_POS_Y = 213;

        public const int BUY_TRANBUY_POS_X = 609;
        public const int BUY_TRANBUY_POS_Y = 269;

        public const int BUY_OK_POS_X = 503;
        public const int BUY_OK_POS_Y = 473;

        public const int CLEAR_POS_X = 9;
        public const int CLEAR_POS_Y = 71;

        public const int SALE_PROPERTY_POS_X = 602;
        public const int SALE_PROPERTY_POS_Y = 141;

        public const int SALE_ITEM_POS_X = 375;
        public const int SALE_ITEM_POS_Y = 220;

        public const int SALE_OK_POS_X = 502;
        public const int SALE_OK_POS_Y = 500;
    }
}
